<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/common.jsp" %>

		<div class="pageHeader">
			<form id="pagerForm" action="admin/emp.action"
			onsubmit="return navTabSearch(this);">
				<input type="hidden" name="pageNum" value="1" /><!--【必须】value=1可以写死-->
			      <input type="hidden" name="numPerPage" value="20" /><!--【可选】每页显示多少条-->
			      <input type="hidden" name="orderField" value="id" /><!--【可选】查询排序-->
			      <input type="hidden" name="orderDirection" value="asc" /><!--【可选】升序降序-->
					
				<div class="searchBar">
					<table class="searchContent" width="100%" border="0">
						<tr>
							<td height="42px" align="right">工号:<input type="text"
								class="textbox" name="employee_id" value="${emp.empId }"
								size="15" maxlength="20" /> 姓名:<input type="text"
								class="textbox" name="real_name" value="${emp.realName}"
								size="15" maxlength="20" /> 部门:<input type="text"
								class="textbox" name="dept" value="${emp.dept }" size="15"
								maxlength="20" /> 类型:<input type="text" class="textbox"
								name="type" value="${emp.type }" size="15" maxlength="20" />
							</td>
							<td align="left" width="40%">
								<ul class="subBar">
									<li><div class="buttonActive">
											<div class="buttonContent">
												<button type="submit">查询</button>
											</div>
										</div></li>
									<li><div class="buttonActive">
											<div class="buttonContent">
												<button type="submit">刷 新</button>
											</div>
										</div></li>
									<li><a class="button" href="admin/msg!input"
										ref='msg_input' target="dialog"><span>发 信</span> </a>
									</li>
								</ul>
						</tr>
					</table>
				</div>
			</form>
		</div>
		<div class="panelBar">
			<ul class="toolBar">
				<li class=""><a target="dialog" href="admin/emp!input"
					ref="emp_add" class="add" height="340"><span>添加</span>
				</a>
				</li>
				<li><a title="确定要删除吗?" target="selectedTodo" rel="ids"
					href="admin/emp!delete"  class="delete">
					<span>删除</span>
				</a>
				</li>
				<li class="line">line</li>
				<li><a title="实要导出这些记录吗?" targettype="navTab"
					target="dwzExport" href="demo/common/dwz-team.xls" class="icon"><span>导出EXCEL</span>
				</a>
				</li>
			</ul>
		</div>
		<div class="gridScroller" style=" overflow: auto;"
			>
			<TABLE class="table" layoutH="120" width="100%" border=1 align="center">
				<thead>
					<TR height="28px">
						<Th><input type="checkbox" group="ids" /></Th>
						<Th>ID</Th>
						<Th>员工工号</Th>
						<Th>姓名</Th>
						<Th>部门</Th>
						<Th>员工类型</Th>
						<Th>邮箱</Th>
						<Th>手机</Th>
						<Th>操作</Th>
					</TR>
				</thead>
				<TBODY>
					<s:iterator value="datas" var="data">
						<tr target="sid_user" ref="${data.id}">
							<td width="40px"><input type="checkbox" name="ids" value="${data.id}"/></td>
							<td>${data.id}</td>

							<td>${data.empId}</td>

							<td>${data.realName}</td>
							<td>${data.dept}</td>

							<td>${data.type}</td>

							<td>${data.email}</td>

							<td>${data.mobile}</td>

							<td>
							<div>
								<a class="btnDel" href="admin/emp!delete?ids=${data.id }" target="ajaxTodo" title="删除">删除</a>
								<a class="btnEdit" href="admin/emp!input?method=update&id=${data.id }" target="dialog" title="编辑">编辑</a>
							</div>
							</td>
						</tr>
					</s:iterator>
			</TABLE>
		</div>
<%@ include file="pager.jsp"%>